package com.hzit.pay.web.service.impl;

import com.hzit.pay.web.mapper.MchPayWayMapper;
import com.hzit.pay.web.model.MchPayWay;
import com.hzit.pay.web.service.IMchPayWayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MchPayWayServiceImpl implements IMchPayWayService {

    @Autowired
    private MchPayWayMapper mchPayWayMapper;

    @Override
    public MchPayWay getMchPayWayByMchId(String mchId,String payWay) {
        return mchPayWayMapper.queryByMchIdAndPayWay(mchId, payWay);
    }

}
